@{
    string strFrom = DateTime.Now.AddDays(-7).ToShortDateString();
    string strTo = DateTime.Now.ToShortDateString();
}
<fieldset id="secondStep">
    <ul class="accordeon-tabs mod-milestone">
        <li class="open">
        <span class="tab">
            <span class="expander" data-bind="click: expMilestone"></span>
            <span>Milestone Metrics</span>
        </span>
        <span class="toolbar" data-bind="visible: visibletoolbar">
            <span class="area">
            <div class="select-holder lead-sources spl">
                <select id="selectLead" data-bind="value: CreditLead, foreach: CreditLeadOptions, optionsCaption: 'All Lead Sources'">
                    <option data-bind="value: LeadSourceId, text: LeadSourceName"></option>
                </select>
            </div>

            <div class="select-holder sel-users">
                <select id="selectUsers" data-bind="value: CreditUsers, foreach: CreditUsersOptions, optionsCaption: 'All Users'">
                    <option data-bind="value: AgentId, text: AgentName"></option>
                </select>
            </div>
            </span>

            <span class="area">
            <span class="spl"><strong>Date Assigned</strong></span>

            <input type="radio" class="radio spl" name="range" value="true" data-bind="checked: RangeOption" />

            <div class="select-holder sel-range spl">
                <select id="selectDate" data-bind="enable: RangeEnable, value: CreditDate, foreach: CreditDateOptions, optionsCaption: 'Today'">
                    <option data-bind="value: RangeValue, text: RangeName"></option>
                </select>
            </div>

            <span class="spl"><strong>or</strong></span>

            <input type="radio" class="radio spl" name="range" value="false" data-bind="checked: RangeOption" />
            <label for="txt-from" class="spl">From:</label>
            <input type="text" id="startDate" value="@strFrom" class="text date spl" data-bind="enable: FromDateEnable" />

            <label for="txt-from" class="spl">To:</label>
            <input type="text" id="endDate" value="@strTo" class="text date" data-bind="enable: ToDateEnable"/>
            </span>

            <span class="area left">
                <a class="btn btn-go" href="javascript:void(1);" data-bind="click: search">Print</a>
            </span>
        </span>
        <span class="panel" data-bind="visible: visiblepanel">
            <div class="table table-metrics">
                <div class="title">
                    <div class="col1">Speed to Contact Attempt</div>
                    <div class="col1 col2">Speed to Contact</div>
                    <div class="col1 col3">Contact Rate</div>
                    <div class="col1 col4">Qualification Rate</div>
                    <div class="col1 col5">Conversion Rate</div>
                </div>
                <div class="line">
                    <div class="col1" data-bind="text:SpeedToContactAttempt"></div>
                    <div class="col1 col2" data-bind="text:SpeedToContact"></div>
                    <div class="col1 col3" data-bind="text:ContactRate"></div>
                    <div class="col1 col4" data-bind="text:QualificationRate"></div>
                    <div class="col1 col5" data-bind="text:ConversionRate"></div>
                </div>
            </div>
        </span>
        </li>
    </ul>
</fieldset>

<script type="text/javascript">
    $(function () {
        $("#startDate").datepicker();
        $("#endDate").datepicker();
    });
</script>
